/*!*********************************************************************************
 * X2Engine Open Source Edition is a customer relationship management program developed by
 * X2 Engine, Inc. Copyright (C) 2011-2019 X2 Engine Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY X2ENGINE, X2ENGINE DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact X2Engine, Inc. P.O. Box 610121, Redwood City,
 * California 94061, USA. or at email address contact@x2engine.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * X2 Engine" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by X2 Engine".
 **********************************************************************************/



$grayText: darken(#c5c5c5,27%);
.x2-remote-page {

/* narrow header */

.ui-header {
	font-size: 12px !important;
}


/* style links in footer */
/* remove text shadow from footer text */

.ui-input-text {
    box-sizing: border-box;
    input {
        // width: 100% !important;
    }
}        

.ui-field-contain {
    &:first-child {
        margin-top: 180px;
    }
    border: none;
    padding-top: 0px;
    padding-bottom: 10px;
}

.login-row {
    width: 100%;

    td {
        padding: 0px;
        width: 50%;

        &:first-child {
            padding-right: 5px;
        }
        &:last-child {
            padding-left: 5px;
        }
    }
}

.remember-me-checkbox-container, .full-site {
    display: inline-block;
    box-sizing: border-box !important;
    padding: 0px !important;
    // pad: 15px !important;
    width: 100%;
    margin-top: 15px !important;
    margin-bottom: 15px !important;

    .ui-checkbox {
        label {
            margin: 0px !important;
        }
    }

    .ui-btn-inner {
        font-size: 10px;
        box-sizing: border-box !important;
        padding: 5px 0px;
        padding-left: 10px;
        text-decoration: none !important;
        color: white !important;
    }

    input {
        display: none;
    }
}



.errorMessage {
    text-shadow: none;
}

.ui-btn-up-a {
    background: rgba(gray, 0.1) !important;
    border: none !important;
}

.ui-btn-hover-a {
    border: none !important;
    background: rgba(gray, 0.2);
}


.x2-icon {
    opacity: 0.7;
    text-shadow: 1px 4px 6px #233d5f, 0 0 0 #233d5f, 1px 4px 6px #233d5f;
    // font-family: Lato, Arial;
    font-weight: bold;
    font-size: 60px;
    width: 100%;
    text-align: center;
    padding: 20% 0px;
    line-height: 70%;
    div:last-child{
        font-size: 50%;
    }
}

@import url(http://fonts.googleapis.com/css?family=Lato:900);

/* 
 * Overrides color scheme for header bar buttons and texts to grayText (see _colors.scss)
 */
.fixed-corner-button {
    color: $grayText !important;
} 

#header .ui-btn {
    color: $grayText !important;
}

#header h1.page-title {
    color: $grayText !important;
}

.post-event-button {
    color: $grayText !important;
}

.background-stripe {
    $color: rgba(white, 0.1);
    $smallWidth: 6px;
    $paddingLeft: 20px;

    background-origin: content-box;

    position: fixed;
    width: 100px;
    height: 120%;
    top: -10%;
    background: $color;
    right: $paddingLeft + $smallWidth * 2;
    // right: 50%;

    &::after {
        background: $color;
        content: '';
        position: absolute;
        right: -$smallWidth*2;
        height: 100%;
        width: $smallWidth;
    }

}

.ui-body-a, .ui-page-theme-a .ui-body-inherit, html .ui-bar-a .ui-body-inherit, html .ui-body-a .ui-body-inherit, html body .ui-group-theme-a .ui-body-inherit, html .ui-panel-page-container-a {
    text-shadow: none;
}


.ui-page-theme-a .ui-btn,
.ui-btn {
    font-family: Helvetica, Arial, sans-serif;
    .ui-link-inherit {
        color: black;
    }
    a.ui-link {
        color: #7cc4e7;
        &:visited, &:hover, &:active {
            color: #2489ce;
        }
    }
    input, select, textarea, button {
        font-family: Helvetica, Arial, sans-serif;
    }
}

.ui-input-btn input:not(.no-css-override) {
    position: static;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: inherit;
}

.ui-input-btn {
    input {
        margin: 0;
        min-height: 2.2em;
        text-align: left;
        border: 0;
        background: transparent none;
        -webkit-appearance: none;
        -webkit-border-radius: inherit;
        border-radius: inherit;
    }
}


.ui-page-theme-a .ui-btn:hover, html .ui-bar-a .ui-btn:hover, html .ui-body-a .ui-btn:hover, html body .ui-group-theme-a .ui-btn:hover, html head + body .ui-btn.ui-btn-a:hover {
    text-shadow: none !important;
}
.ui-page-theme-a .ui-btn, html .ui-bar-a .ui-btn, html .ui-body-a .ui-btn, html body .ui-group-theme-a .ui-btn, html head + body .ui-btn.ui-btn-a, .ui-page-theme-a .ui-btn:visited, html .ui-bar-a .ui-btn:visited, html .ui-body-a .ui-btn:visited, html body .ui-group-theme-a .ui-btn:visited, html head + body .ui-btn.ui-btn-a:visited {
    text-shadow: none !important;
}

}
